include(../../GSDesign.pri)
QT += core gui widgets

TARGET = rtdb
TEMPLATE = lib

CONFIG  += plugin

BUILD_DIR = $$clean_path($$OUT_PWD)
LIB_DIR = $$clean_path($$IDE_APP_ROOT/bin)
TOP_SRC_DIR = $$clean_path($$IDE_APP_ROOT)

DESTDIR = $$clean_path($$IDE_APP_ROOT/bin)
win32 {
    DLLDESTDIR = $$IDE_APP_ROOT/bin
}
unix {
    DESTDIR = $$IDE_APP_ROOT/bin
    LIB_DIR = $$clean_path($$IDE_APP_ROOT/bin)
}


LIBS += -L$$clean_path($$LIB_DIR) -lshared
LIBS += -L$$clean_path($$LIB_DIR) -lcore

INCLUDEPATH += \
    $$TOP_SRC_DIR/HmiDesigner/libs/core \
    $$TOP_SRC_DIR/HmiDesigner/libs/shared

HEADERS += \
    rtdbplugin.h \
    rtdbwin.h

SOURCES += \
    rtdbplugin.cpp \
    rtdbwin.cpp


RESOURCES += \
    images.qrc

FORMS +=


DISTFILES += \
    rtdbplugin.json
